<?php

/**
 * User form.
 *
 * @package    corpon
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class UserForm extends BaseUserForm
{
  public function configure()
  {
      $this->widgetSchema['credential'] = new sfWidgetFormChoice(array('choices'  => Doctrine_Core::getTable('User')->getCredentials(),'expanded' => false,));
      $this->widgetSchema['password'] = new sfWidgetFormInputPassword();
      unset($this['created_at']);
  }
}
